package com.lagou.springboot.mapper;

import com.github.pagehelper.Page;
import com.lagou.springboot.pojo.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ArticleMapper {
    @Select("select * from t_article")
    Page<Article> selectAll();
}
